package com.luo.partner.service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.luo.common.base.BaseService;
import com.luo.common.utils.Query;
import com.luo.partner.dao.model.TabRed;
import com.luo.partner.dao.model.TabRedRecord;
import com.luo.partner.dao.model.TabRedRecordExample;
import com.luo.partner.dao.model.TabRedRecordTemp;
/**
* TabRedRecordService接口
* Created by laohu on 2018/9/6.
*/
public interface TabRedRecordService extends BaseService<TabRedRecord, TabRedRecordExample> {
TabRedRecord get(Long id);

List<TabRedRecord> list();

int save(TabRedRecord role);

int update(TabRedRecord role);

    int remove(Long id);

List<TabRedRecord> list(Long userId);

    int batchRemove(Long[] ids);

    int count(Query query);

	int addUserRed(Long usrsId, TabRed tabRed,BigDecimal un_settlement_recharge);

	List<TabRedRecordTemp> findRedList(Map<String, Object> map);

	int countRedList(Map<String, Object> map);
}